MacBinary | 1992-02-07 | 2.4 KB | [TEXT/CCL2] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Fri Feb 7 08:29:40 1992, modified Fri Feb 7 08:29:40 1992, creator Common Lisp 2, type ASCII, 1666 bytes "+Sound.lisp" , at 0x702 442 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [CCL2] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 2b 53 6f 75 6e 64 | 2e 6c 69 73 70 00 00 00 |..+Sound|.lisp...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 01 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 06 82 00 | 00 01 ba a5 b8 3a 44 a5 |........|.....:D.|
|00000060| b8 3a 44 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.:D.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fe 81 00 00 |........|........|
|00000080| 3b 3b 20 2d 2a 2d 20 70 | 61 63 6b 61 67 65 3a 20 |;; -*- p|ackage: |
|00000090| 4e 6f 74 49 6e 52 4f 4d | 20 2d 2a 2d 0d 3b 3b 3b |NotInROM| -*-.;;;|
|000000a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 0d 3b 3b 20 2b | 53 6f 75 6e 64 2e 4c 69 |;;;.;; +|Sound.Li|
|000000f0| 73 70 0d 3b 3b 0d 3b 3b | 20 43 6f 70 79 72 69 67 |sp.;;.;;| Copyrig|
|00000100| 68 74 20 a9 20 31 39 39 | 31 20 4e 6f 72 74 68 77 |ht . 199|1 Northw|
|00000110| 65 73 74 65 72 6e 20 55 | 6e 69 76 65 72 73 69 74 |estern U|niversit|
|00000120| 79 20 49 6e 73 74 69 74 | 75 74 65 20 66 6f 72 20 |y Instit|ute for |
|00000130| 74 68 65 20 4c 65 61 72 | 6e 69 6e 67 20 53 63 69 |the Lear|ning Sci|
|00000140| 65 6e 63 65 73 0d 3b 3b | 20 41 6c 6c 20 52 69 67 |ences.;;| All Rig|
|00000150| 68 74 73 20 52 65 73 65 | 72 76 65 64 0d 3b 3b 0d |hts Rese|rved.;;.|
|00000160| 3b 3b 20 61 75 74 68 6f | 72 3a 20 4d 69 63 68 61 |;; autho|r: Micha|
|00000170| 65 6c 20 53 2e 20 45 6e | 67 62 65 72 0d 3b 3b 0d |el S. En|gber.;;.|
|00000180| 3b 3b 20 50 72 6f 76 69 | 64 65 73 20 6d 69 73 73 |;; Provi|des miss|
|00000190| 69 6e 67 20 53 6f 75 6e | 64 20 4d 61 6e 61 67 65 |ing Soun|d Manage|
|000001a0| 72 20 52 6f 75 74 69 6e | 65 73 0d 3b 3b 3b 3b 3b |r Routin|es.;;;;;|
|000001b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 0d 0d 28 65 76 61 6c | 2d 77 68 65 6e 20 28 3a |;..(eval|-when (:|
|00000200| 63 6f 6d 70 69 6c 65 2d | 74 6f 70 6c 65 76 65 6c |compile-|toplevel|
|00000210| 20 3a 6c 6f 61 64 2d 74 | 6f 70 6c 65 76 65 6c 20 | :load-t|oplevel |
|00000220| 3a 65 78 65 63 75 74 65 | 29 0d 20 20 28 72 65 71 |:execute|). (req|
|00000230| 75 69 72 65 20 20 20 20 | 3a 4e 6f 74 49 6e 52 4f |uire |:NotInRO|
|00000240| 4d 2d 75 29 0d 20 20 28 | 69 6e 2d 70 61 63 6b 61 |M-u). (|in-packa|
|00000250| 67 65 20 3a 4e 6f 74 49 | 6e 52 4f 4d 29 29 0d 0d |ge :NotI|nROM))..|
|00000260| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000270| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000280| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000290| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002a0| 3b 3b 3b 3b 3b 3b 0d 0d | 28 64 65 66 74 72 61 70 |;;;;;;..|(deftrap|
|000002b0| 2d 4e 6f 74 49 6e 52 4f | 4d 20 5f 47 65 74 53 6f |-NotInRO|M _GetSo|
|000002c0| 75 6e 64 56 6f 6c 20 3a | 6e 6f 6e 65 20 28 28 6c |undVol :|none ((l|
|000002d0| 65 76 65 6c 20 28 3a 70 | 6f 69 6e 74 65 72 20 3a |evel (:p|ointer :|
|000002e0| 73 69 67 6e 65 64 2d 69 | 6e 74 65 67 65 72 29 29 |signed-i|nteger))|
|000002f0| 29 0d 20 20 28 25 70 75 | 74 2d 77 6f 72 64 20 6c |). (%pu|t-word l|
|00000300| 65 76 65 6c 20 28 25 67 | 65 74 2d 75 6e 73 69 67 |evel (%g|et-unsig|
|00000310| 6e 65 64 2d 62 79 74 65 | 20 28 25 69 6e 74 2d 74 |ned-byte| (%int-t|
|00000320| 6f 2d 70 74 72 20 23 24 | 53 64 56 6f 6c 75 6d 65 |o-ptr #$|SdVolume|
|00000330| 29 29 29 29 0d 0d 0d 28 | 64 65 66 74 72 61 70 2d |))))...(|deftrap-|
|00000340| 4e 6f 74 49 6e 52 4f 4d | 20 5f 53 65 74 53 6f 75 |NotInROM| _SetSou|
|00000350| 6e 64 56 6f 6c 20 3a 6e | 6f 6e 65 20 28 28 6c 65 |ndVol :n|one ((le|
|00000360| 76 65 6c 20 3a 73 69 67 | 6e 65 64 2d 69 6e 74 65 |vel :sig|ned-inte|
|00000370| 67 65 72 29 29 0d 20 20 | 28 72 6c 65 74 20 28 28 |ger)). |(rlet ((|
|00000380| 70 62 20 3a 50 61 72 61 | 6d 42 6c 6f 63 6b 52 65 |pb :Para|mBlockRe|
|00000390| 63 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3a |c. | :|
|000003a0| 69 6f 43 6f 6d 70 6c 65 | 74 69 6f 6e 20 28 25 6e |ioComple|tion (%n|
|000003b0| 75 6c 6c 2d 70 74 72 29 | 0d 20 20 20 20 20 20 20 |ull-ptr)|. |
|000003c0| 20 20 20 20 20 20 3a 69 | 6f 52 65 66 4e 75 6d 20 | :i|oRefNum |
|000003d0| 2d 34 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |-4. | |
|000003e0| 3a 63 73 43 6f 64 65 20 | 20 20 20 32 29 29 0d 20 |:csCode | 2)). |
|000003f0| 20 20 20 28 25 70 75 74 | 2d 77 6f 72 64 20 28 70 | (%put|-word (p|
|00000400| 72 65 66 20 70 62 20 3a | 50 61 72 61 6d 42 6c 6f |ref pb :|ParamBlo|
|00000410| 63 6b 52 65 63 2e 63 73 | 50 61 72 61 6d 29 20 6c |ckRec.cs|Param) l|
|00000420| 65 76 65 6c 29 0d 20 20 | 20 20 28 23 5f 50 42 43 |evel). | (#_PBC|
|00000430| 6f 6e 74 72 6f 6c 20 70 | 62 29 29 29 0d 0d 3b 3b |ontrol p|b)))..;;|
|00000440| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000450| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000460| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000470| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000480| 3b 3b 3b 3b 0d 0d 3b 3b | 54 68 69 73 20 6f 6e 65 |;;;;..;;|This one|
|00000490| 20 69 73 20 74 61 6b 65 | 6e 20 70 72 65 74 74 79 | is take|n pretty|
|000004a0| 20 6d 75 63 68 20 73 74 | 72 61 69 67 68 74 20 66 | much st|raight f|
|000004b0| 72 6f 6d 20 69 6e 74 65 | 72 66 61 63 65 73 2e 6c |rom inte|rfaces.l|
|000004c0| 69 73 70 2e 0d 3b 3b 49 | 20 64 6f 6e 27 74 20 63 |isp..;;I| don't c|
|000004d0| 6c 61 69 6d 20 74 6f 20 | 75 6e 64 65 72 73 74 61 |laim to |understa|
|000004e0| 6e 64 20 68 6f 77 20 69 | 74 20 77 6f 72 6b 73 2e |nd how i|t works.|
|000004f0| 0d 3b 3b 0d 3b 3b 49 4d | 20 49 49 20 70 2e 32 33 |.;;.;;IM| II p.23|
|00000500| 32 20 6f 75 74 6c 69 6e | 65 73 20 61 6e 20 61 70 |2 outlin|es an ap|
|00000510| 70 72 6f 61 63 68 2c 20 | 62 75 74 20 64 6f 65 73 |proach, |but does|
|00000520| 6e 27 74 20 73 61 79 20 | 65 78 61 63 74 6c 79 20 |n't say |exactly |
|00000530| 68 6f 77 0d 3b 3b 74 6f | 20 67 65 74 20 74 68 65 |how.;;to| get the|
|00000540| 20 6d 6f 73 74 20 72 65 | 63 65 6e 74 20 70 62 2e | most re|cent pb.|
|00000550| 20 50 72 65 73 75 6d 61 | 62 6c 79 2c 20 23 78 30 | Presuma|bly, #x0|
|00000560| 41 45 38 20 69 73 20 74 | 68 65 20 61 64 64 72 65 |AE8 is t|he addre|
|00000570| 73 73 20 6f 66 0d 3b 3b | 61 20 70 74 72 20 74 6f |ss of.;;|a ptr to|
|00000580| 20 70 74 72 20 74 6f 20 | 74 68 65 20 70 61 72 61 | ptr to |the para|
|00000590| 6d 20 62 6c 6f 63 6b 20 | 6f 66 20 74 68 65 20 6d |m block |of the m|
|000005a0| 6f 73 74 20 72 65 63 65 | 6e 74 20 73 6f 75 6e 64 |ost rece|nt sound|
|000005b0| 20 64 72 69 76 65 72 20 | 63 61 6c 6c 2e 0d 3b 3b | driver |call..;;|
|000005c0| 0d 3b 3b 54 68 65 20 53 | 6f 75 6e 64 44 72 69 76 |.;;The S|oundDriv|
|000005d0| 65 72 20 69 73 20 63 6f | 6e 73 69 64 65 72 65 64 |er is co|nsidered|
|000005e0| 20 6f 62 73 6f 6c 65 74 | 65 20 6e 6f 77 20 28 61 | obsolet|e now (a|
|000005f0| 6e 64 20 61 74 20 73 6f | 6d 65 20 70 6f 69 6e 74 |nd at so|me point|
|00000600| 20 77 69 6c 6c 20 62 65 | 0d 3b 3b 72 65 6d 6f 76 | will be|.;;remov|
|00000610| 65 64 29 2c 20 73 6f 20 | 79 6f 75 20 70 72 6f 62 |ed), so |you prob|
|00000620| 61 62 6c 79 20 73 68 6f | 75 6c 64 6e 27 74 20 62 |ably sho|uldn't b|
|00000630| 65 20 75 73 69 6e 67 20 | 74 68 69 73 20 63 61 6c |e using |this cal|
|00000640| 6c 20 61 6e 79 77 61 79 | 2e 0d 0d 28 64 65 66 74 |l anyway|...(deft|
|00000650| 72 61 70 2d 4e 6f 74 49 | 6e 52 4f 4d 20 5f 53 6f |rap-NotI|nROM _So|
|00000660| 75 6e 64 44 6f 6e 65 20 | 3a 42 6f 6f 6c 65 61 6e |undDone |:Boolean|
|00000670| 20 28 29 0d 20 20 28 6c | 65 74 20 28 28 70 62 20 | (). (l|et ((pb |
|00000680| 28 25 67 65 74 2d 6c 6f | 6e 67 20 28 25 69 6e 74 |(%get-lo|ng (%int|
|00000690| 2d 74 6f 2d 70 74 72 20 | 23 78 30 41 45 38 29 29 |-to-ptr |#x0AE8))|
|000006a0| 29 29 0d 20 20 20 20 28 | 6f 72 20 28 3d 20 70 62 |)). (|or (= pb|
|000006b0| 20 2d 31 29 0d 20 20 20 | 20 20 20 20 20 28 3c 3d | -1). | (<=|
|000006c0| 20 28 70 72 65 66 20 28 | 25 67 65 74 2d 70 74 72 | (pref (|%get-ptr|
|000006d0| 20 28 25 69 6e 74 2d 74 | 6f 2d 70 74 72 20 70 62 | (%int-t|o-ptr pb|
|000006e0| 29 29 20 3a 50 61 72 61 | 6d 42 6c 6f 63 6b 52 65 |)) :Para|mBlockRe|
|000006f0| 63 2e 69 6f 52 65 73 75 | 6c 74 29 20 30 29 29 29 |c.ioResu|lt) 0)))|
|00000700| 29 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |).......|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 01 68 | 00 00 00 68 00 00 00 52 |.......h|...h...R|
|00000790| 00 00 17 8b 00 44 07 44 | 69 73 6b 73 2e 68 2e 68 |.....D.D|isks.h.h|
|000007a0| 63 00 00 00 ff ff ff ff | ff ff ff ff 06 00 00 00 |c.......|........|
|000007b0| 0b 2b 53 6f 75 6e 64 2e | 6c 69 73 70 02 00 00 00 |.+Sound.|lisp....|
|000007c0| 54 45 58 54 43 43 4c 32 | 01 00 00 14 00 c0 00 00 |TEXTCCL2|........|
|000007d0| 00 00 54 45 58 54 43 43 | 4c 32 01 00 00 14 00 c0 |..TEXTCC|L2......|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 a5 b4 84 96 00 00 | 06 82 00 00 01 ba ff ff |........|........|
|00000800| ff ff ff ff ff ff 06 00 | 00 00 17 8f 00 45 08 45 |........|.....E.E|
|00000810| 72 72 6f 72 73 2e 68 2e | 68 00 00 00 ff ff ff ff |rrors.h.|h.......|
|00000820| ff ff ff ff 06 00 00 00 | 17 90 00 45 08 45 76 65 |........|...E.Eve|
|00000830| 6e 74 73 2e 68 68 63 00 | 00 00 ff ff ff ff ff ff |nts.hhc.|........|
|00000840| ff ff 06 00 00 00 17 91 | 00 46 07 46 69 6c 65 73 |........|.F.Files|
|00000850| 2e 68 68 2e 68 00 00 00 | ff ff ff ff ff ff ff ff |.hh.h...|........|
|00000860| 06 00 00 00 17 94 00 46 | 08 46 69 6e 64 65 72 2e |.......F|.Finder.|
|00000870| 68 2e 68 00 00 00 ff ff | ff ff ff ff ff ff 06 00 |h.h.....|........|
|00000880| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00000890| 00 0a 01 c2 07 43 6f 75 | 72 69 65 72 00 00 00 48 |.....Cou|rier...H|
|000008a0| 00 0a 43 6f 75 72 69 65 | 72 00 00 00 00 00 00 00 |..Courie|r.......|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 06 00 08 01 2c | 02 1b 02 76 04 0d 01 2c |.......,|...v...,|
|000008d0| 02 1b 02 76 04 0d 00 00 | 00 00 00 00 00 1d 00 00 |...v....|........|
|000008e0| 00 1d 00 00 00 00 01 00 | 00 00 01 00 00 00 01 68 |........|.......h|
|000008f0| 00 00 00 68 00 00 00 52 | 00 f0 c5 d8 0a 4a 00 00 |...h...R|.....J..|
|00000900| 00 1c 00 52 00 01 46 52 | 45 44 00 01 00 12 4d 50 |...R..FR|ED....MP|
|00000910| 53 52 00 00 00 2a 00 02 | ff ff 00 00 00 00 00 00 |SR...*..|........|
|00000920| 00 00 00 03 ff ff 00 00 | 00 0e 00 00 00 00 03 ed |........|........|
|00000930| ff ff 00 00 00 1c 00 f1 | a3 60 00 00 00 00 00 00 |........|.`......|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+